<?php /* Smarty version 2.6.26, created on 2018-07-05 16:53:44
         compiled from D:%5Cwww%5Cvweb/admin%5Ctemplates/api/payment.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
<div class="nav"><span>第三方接口</span></div> 
<div class="main"> 
	<table class="ltable">
	  	<thead>
		  	<tr> 
				<th width="120">名称</th>  
				<th width="80">别名</th> 
				<th>描述</th>
				<th width="80">编辑</th>
				<th width="60">手续费</th>
				<th width="60">状态</th> 
		  	</tr>
	  	</thead>
		<tbody>
		<?php if ($this->_tpl_vars['data']): ?>
			<?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
			<tr> 
				<td><span><?php echo $this->_tpl_vars['i']['name']; ?>
</span></td>
				<td><?php echo $this->_tpl_vars['i']['alias']; ?>
</td>
				<td><?php echo $this->_tpl_vars['i']['describe']; ?>
</td>
				<td><a href="?m=api&a=payment_edit&id=<?php echo $this->_tpl_vars['i']['id']; ?>
" class="edit">编辑</a></td>  
				<td><?php echo $this->_tpl_vars['i']['fees']; ?>
</td>
				<td><?php if ($this->_tpl_vars['i']['status'] == 1): ?>
						<a href="javascript:;" onClick="close('<?php echo $this->_tpl_vars['i']['id']; ?>
')">启用</a>
					<?php else: ?>
						<a href="javascript:;" onClick="opens('<?php echo $this->_tpl_vars['i']['id']; ?>
')">禁止</a>
					<?php endif; ?>
				</td> 
			</tr> 
			<?php endforeach; endif; unset($_from); ?>
		<?php else: ?> 
	  		<tr><td colspan="6">还没有数据，赶快添加吧！</td></tr>
		<?php endif; ?>
		</tbody> 
	</table> 
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 